package com.youthburin.rmp.domain;

import java.io.Serializable;
import java.util.Set;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import com.youthburin.base.domain.BaseVO;

/**
 * The persistent class for the rmp_op_log_type database table.
 * 
 */
@Entity
@Table(name = "rmp_op_log_type")
public class RmpOpLogType extends BaseVO implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "CODE", unique = true, nullable = false, length = 32)
	private String code;

	@Column(name = "NAME", length = 64)
	private String name;

	// bi-directional many-to-one association to RmpOpLog
	@OneToMany(mappedBy = "rmpOpLogType")
	private Set<RmpOpLog> rmpOpLogs;

	public RmpOpLogType() {
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set<RmpOpLog> getRmpOpLogs() {
		return this.rmpOpLogs;
	}

	public void setRmpOpLogs(Set<RmpOpLog> rmpOpLogs) {
		this.rmpOpLogs = rmpOpLogs;
	}

}